<template>
  <div>
    <div class="dialog_wrap ruxue_dialog" id="dialog_cz" :style="'display: ' + $store.state.jcblock + ';'">
      <div class="ruxuebaoming_main" style="height:460px">
        <p class="title">
          请选择入学区域<span
            class="floatright login_load_close"
            @click="dialogHide()"
            >X</span
          >
        </p>
        <div class="main">
          <div class="area_wrap">
            <p class="area_title">中心城区（内六区）</p>
            <a @click="juniorHighRegister()" >芙蓉区</a>
            <a
              href="#"
              class="ml15"
              onclick="layer.alert('本年度报名已结束',{icon:0})"
              >天心区</a
            >
            <a
              href="#"
              class="ml15"
              onclick="layer.alert('本年度报名已结束',{icon:0})"
              >岳麓区</a
            ><br />
            <a href="#" onclick="layer.alert('本年度报名已结束',{icon:0})"
              >开福区</a
            >
            <a
              href="#"
              class="ml15"
              onclick="layer.alert('本年度报名已结束',{icon:0})"
              >雨花区</a
            >
            <a
              href="#"
              class="ml15"
              onclick="layer.alert('本年度报名已结束',{icon:0})"
              >高新区</a
            >
          </div>
          <div class="area_wrap">
            <p class="area_title">四县（市、区）</p>
            <a href="#" onclick="showMsg2()">望城区</a>
            <a
              href="#"
              onclick="goUrl('/index_middle?area=430121000000')"
              class="ml30"
              >长沙县</a
            >
            <!--<a href="#" onclick="layer.alert('本年度报名未开始',{icon:0})" class="ml30">长沙县</a>-->
            <br />
            <a href="#" onclick="showMsg()">浏阳市</a>
            <a href="#" class="ml30" onclick="showMsg()">宁乡市</a>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "JuniorCounties",

  data() {
    return {};
  },

  mounted() {},

  methods: {
    dialogHide() {
      this.$store.commit("updateJC", "none");
    },
    /**
     * 点击县区，然后跳转
     */
    juniorHighRegister() {
      this.dialogHide();
      this.$router.push({path: '/junior_high_register.html'});
    }
  },
};
</script>

<style scoped>
</style>